package com.kayt.cyberBar.cpublic.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cpublic.business.entity.po.CPublicLabl;

public interface IPublicLablDao {
	public Boolean checkExist(String name) throws SQLException;
	
	CPublicLabl findById(String lablId);
	
	Integer delete(String lablId);
	
	CPublicLabl save(CPublicLabl entity) throws SQLException;
	
	void modify(CPublicLabl entity) throws SQLException;
	
	PageData<CPublicLabl> findByPage(String hql, Object[] params, LinkedHashMap<String, String> orderMap) throws SQLException;
	
	public PageData<CPublicLabl> getLablList(LinkedHashMap<String, String> orderMap) throws SQLException;
}
